﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Matlus.MetaWeblog
{
  public class BlogInfo
  {
    public string blogid { get; set; }
    public string blogName { get; set; }
    public string url { get; set; }
  }

  public class Post
  {
    public int postid { get; set; }
    public string title { get; set; }
    public string description { get; set; }
    public string mt_text_more { get; set; }
    public string mt_keywords { get; set; }
    public string wp_slug { get; set; }
    public string mt_basename { get; set; }
    public string mt_excerpt { get; set; }
    public string wp_author_id { get; set; }
    public string[] categories { get; set; }
    public bool IsPublished { get; set; }
    public DateTime dateCreated { get; set; }
  }

  public class CategoryInfo
  {
    public int categoryid { get; set; }
    public string title { get; set; }
    public string description { get; set; }
    public string htmlUrl { get; set; }
    public string rssUrl { get; set; }
  }

  public class MediaObject
  {
    public string name { get; set; }
    public string type { get; set; }
    public byte[] bits { get; set; }
  }

  public class MediaObjectInfo
  {
    public string file { get; set; }
    public string url { get; set; }
    public string type { get; set; }
  }

  public class UserInfo
  {
    public string userid { get; set; }
    public string firstname { get; set; }
    public string lastname { get; set; }
    public string nickname { get; set; }
    public string email { get; set; }
    public string url { get; set; }
  }

  public class XmlRpcFaultInfo
  {
    public int faultCode { get; set; }
    public string faultString { get; set; }
  }
}